package com.yao.seckill.web.service;

import com.yao.seckill.core.SeckillResponse;
import com.yao.seckill.web.pojo.SeckillOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaobing
 * @since 2022-08-31
 */
public interface ISeckillOrderService extends IService<SeckillOrder> {

    SeckillResponse doSeckill(Integer goodsId);

    void doClearCache();

    int getResult();
}
